
/**
    功能说明:
 
        1.将16进制颜色转换成UIColor
 **/


#import <Foundation/Foundation.h>

@interface UIUtil : NSObject

+ (UIColor *) colorWithHexString: (NSString *) stringToConvert;
+ (void)archiveDataToDefaults:(id)data withKey:(NSString *)key;
+ (id)unarchiveDataFromDefaultsWithKey:(NSString *)key;
+ (void)removeArchivedDataWithKey:(NSString *)key;
+ (BOOL)isNetworkReachable;
+ (UIViewController *)viewControllerHasNavgation:(UIView *)aView;
+ (void)configTextField:(UITextField *)textField withTitle:(NSString *)string;
+ (NSDateComponents *)date;
//parama转化为json
+ (NSDictionary *)toJsonString:(id)parama;
+ (NSString *)containString:(NSString *)string;
+ (void)tokenOverdue:(UIViewController *)vc msg:(NSString *)msg;

@end
